package org.bizming.medicine.model.help;

import org.bizming.base.BaseModel;
import org.bizming.util.StringHelper;

/**
 * 药物单位,如瓶,盒
 * 
 * @author yaoming
 * 
 */
public class MedicineUnit extends BaseModel {

	private String name;// 单位--10

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public boolean isValidate(ActionType type) {
		if (StringHelper.isLengthIn(name, 10))
			return true;
		return false;
	}

}
